package DynamicProxy.entity;

import DynamicProxy.interfaceDemo.Api;

import static java.lang.Thread.sleep;

/**
 * create by mwh 2021-11-12
 **/

public class ApiTime implements Api {
    @Override
    public void getApiTime() throws InterruptedException {
        sleep(2000);
        System.out.println("沉睡2秒");
    }
}
